extends "../pojuzhe-2/pojuzhe-2.gd"
func _extInit():
	._extInit()
	chaName = "「塞壬」破局者II型"
	attInfox.spd = 0.5
	lv = 3             #等级的设置
	addSkill("全体友军死亡时将会满血复活", "破局")

func _onBattleStart():
	._onBattleStart()
	var chas = getAllChas(2)
	for i in chas:
		if not i.hasBuff("b_pojuzhe") and i.camp != "塞壬":
			i.addBuff(b_pojuzhe.new())

class b_pojuzhe:
	extends "../../../../azurlane_ctrl/AzurBuff.gd"
	func _init():
		attInit()
		id = "b_pojuzhe"	
	func _connect():
		masCha.connect("onDeath",self,"_onDeath")
	func _onDeath(atkInfo):
		if masCha.isDeath:
			masCha.isDeath = false
			masCha.plusHp(masCha.att.maxHp)
			isDel = true